package Demo;

import java.util.List;

public class TestCard {
    public static void main(String[] args) {
        Cards cards=new Cards();

        List<Card> cardList=cards.buyCard();
        System.out.println("生成一副扑克牌：");
        System.out.println(cardList);

        cards.shuffle(cardList);
        System.out.println("洗牌后：");
        System.out.println(cardList);

        System.out.println("抓牌：");
        cards.drawCard(cardList);

        System.out.println("剩下的牌：");
        System.out.println(cardList);
    }
}
